/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.dapai.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.softtown.common.utils.PageUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@ApiModel(value = "客户拜访管理")
public class CompCustomerPotentialVisitRecordsDTO extends PageUtils implements Serializable {


    /**
     * 主键
     * id
     * isNullAble:0
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 公司id
     * isNullAble:0
     */
    @ApiModelProperty(value = "公司id")
    private Long compId;

    /**
     * 潜在客户id
     * isNullAble:0
     */
    @ApiModelProperty(value = "潜在客户id")
    private Long custPotId;

    /**
     * 拜访人
     * isNullAble:0
     */
    @ApiModelProperty(value = "拜访人")
    private String visitName;

    /**
     * 拜访时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "拜访时间")
    private Date visitDate;

    /**
     * 备注
     * isNullAble:0
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 创建者
     * isNullAble:1
     */
    @ApiModelProperty(value = "创建者")
    private Long creator;

    /**
     * 创建时间
     * isNullAble:1
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

}
